import React, { Component } from 'react'
export default class Child extends Component {
  render() {
    console.log(this.props.msg);
    let pStyle={width:'200px',height:'200px',backgroundColor:'springgreen',display:'flex',justifyContent:'center',alignItems:'center'}
    return (
      <div style={pStyle}>
        {this.props.msg}
      </div>
    )
  }
}
